﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="WinnerCMS.WebUI.Admin.Member.Business" CodeBehind="Business.aspx.cs" %>

<!doctype html>
<html>
<head runat="server">
    <title>交易记录</title>
    <meta http-equiv="Pragma" content="No-cach" />
    <%: Styles.Render("~/Content/Bootstrap/css") %>
    <%: Scripts.Render("~/Scripts/AdminBase") %>
    
    
</head>
<body>
    <form id="form1" runat="server">
    <table id="NavigationPath">
        <tr>
            <td style="width: 50%">
                <asp:Literal ID="L_Path" runat="server"></asp:Literal>
            </td>
            <td style="width: auto; text-align:right;" class="form-inline">
                <asp:DropDownList ID="ddlSort" runat="server" >
                    <asp:ListItem Value="Name">用户名</asp:ListItem>
                    <asp:ListItem Value="PetName">昵称</asp:ListItem>
                    <asp:ListItem Value="QQ">QQ</asp:ListItem>
                    <asp:ListItem Value="eMail">电邮</asp:ListItem>
                </asp:DropDownList><asp:TextBox ID="txtKeyWord" runat="server"></asp:TextBox><BootStrap:Button ID="btnSearch" runat="server"
                    Text="搜索"  />
            </td>
        </tr>
    </table>
    <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" GridLines="None"
        CssClass="table table-bordered table-condensed table-hover" DataKeyNames="Id" ItemType="WinnerCMS.Model.Business">
        <HeaderStyle CssClass="HeaderStyle" />
        <Columns>
            <asp:TemplateField HeaderText="选择">
                <HeaderTemplate>
                    <input name="chk_SelectAll" onclick="javascript:SelectAll(this);" type="checkbox"
                        value="chk_SelectAll" /></HeaderTemplate>
                <ItemTemplate>
                    <asp:CheckBox ID="cbkSelectID" runat="server" />
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="Id" HeaderText="ID">
                <ItemStyle HorizontalAlign="Center" Width="40px" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="用户名">
                <ItemTemplate>
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# string.Format("Member_Detail.aspx?ID={0}", Item.User.Id) %>' Text='<%# Item.User.UserName %>'></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" Width="120px" />
            </asp:TemplateField>
            <asp:BoundField DataField="Indent" HeaderText="订单号">
                <ItemStyle HorizontalAlign="Center" Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="Point" HeaderText="支付点数">
                <ItemStyle HorizontalAlign="Center" Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="PayMoney" HeaderText="支付金额" />
            <asp:BoundField DataField="Customer" HeaderText="汇款人" />
            <asp:BoundField DataField="CreateTime" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}"
                HeaderText="发生时间" HtmlEncode="False">
                <ItemStyle HorizontalAlign="Center" Width="140px" />
            </asp:BoundField>
        </Columns>
    </asp:GridView>
    <div class="form-inline">
        <asp:Button ID="btnDelSelected" runat="server" EnableViewState="False" Text="删除选中"
            OnClick="btnDelSelected_Click" CssClass="btn btn-danger" /></div>
 
        <WinnerCMS:PageNavigation ID="PageNavigation1" runat="server" PageSize="20" OnPageChanging="PageNavigation1_PageChanging">
        </WinnerCMS:PageNavigation>
 
    </form>
</body>
</html>
